package controller

import (
	"htdemo.com/goim/logic/dao"
)

func init() {
	g := Engine.Group("/contacts")
	g.GET("recent", handler(ContactsController{}.RecentList))
}

type ContactsController struct{}

func (ContactsController) RecentList(c *context) {
	c.response(dao.ContactsDao.GetContactsList(Context(), c.userId), nil)
}
